package com.imut.hcdp.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.imut.hcdp.mapper.HcdpUserMapper;
import com.imut.hcdp.domain.HcdpUser;
import com.imut.hcdp.service.IHcdpUserService;


@Service
public class HcdpUserServiceImpl implements IHcdpUserService
{
    @Autowired
    private HcdpUserMapper hcdpUserMapper;


    @Override
    public HcdpUser selectHcdpUserById(Long id)
    {
        return hcdpUserMapper.selectHcdpUserById(id);
    }


    @Override
    public List<HcdpUser> selectHcdpUserList(HcdpUser hcdpUser)
    {
        return hcdpUserMapper.selectHcdpUserList(hcdpUser);
    }


    @Override
    public int insertHcdpUser(HcdpUser hcdpUser)
    {
        return hcdpUserMapper.insertHcdpUser(hcdpUser);
    }


    @Override
    public int updateHcdpUser(HcdpUser hcdpUser)
    {
        return hcdpUserMapper.updateHcdpUser(hcdpUser);
    }


    @Override
    public int deleteHcdpUserByIds(Long[] ids)
    {
        return hcdpUserMapper.deleteHcdpUserByIds(ids);
    }


    @Override
    public int deleteHcdpUserById(Long id)
    {
        return hcdpUserMapper.deleteHcdpUserById(id);
    }
}
